#include "toy2d.hpp"
#include "context.hpp"
namespace toy2d {
	void Init(const char** extensions, CreateSurfaceFunc func, int w, int h) {
		Context::Init(extensions, func);
		Context::GetInstance().InitSwapchain(w, h);
	}

	void Quit() {
		Context::GetInstance().DestroySwapchain();
		Context::Quit();
	}
}
